import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/***
 * 
 * Router object to hold necessary data
 * @author skinner@kth.se
 * @author aidi@kth.se
 */
class Router {
	private String hostname;
	private Map<Integer,RouterInf> interfaces;
	private List<String> localIps;			
	private List<String> neighborIps;
	
	public List<Long> valueX;
	public List<Long> valueY;
	
	/**
	 * Initialize values for router
	 * @param hostname
	 */
	public Router(String hostname) {
		this.hostname = hostname;
		interfaces = new HashMap<Integer,RouterInf>();
		localIps = new ArrayList<String>();
		neighborIps = new ArrayList<String>();
		
		valueX = new ArrayList<Long>();
		valueY = new ArrayList<Long>();
	}
	
	public String getHostname() {
		return hostname;
	}
	public void setHostname(String hostname) {
		this.hostname = hostname;
	}
	
	public Map<Integer, RouterInf> getInterfaces() {
		return interfaces;
	}
	public void setInterfaces(Map<Integer, RouterInf> interfaces) {
		this.interfaces = interfaces;
	}
	
	public List<String> getLocalIps() {
		return localIps;
	}
	public void setLocalIps(List<String> localIps) {
		this.localIps = localIps;
	}
	
	public List<String> getNeighborIps() {
		return neighborIps;
	}
	public void setNeighborIps(List<String> neighbors) {
		this.neighborIps = neighbors;
	}
}